package com.example.qxfw.nyqx.service;

import com.example.qxfw.common.SysResult;
import com.example.qxfw.common.entity.ny.CropDistIndex;

import java.text.ParseException;
import java.util.List;

public interface NybchService {

    /**
     * 查询作物病虫害指标
     * @param cropName
     * @return
     */
    List<CropDistIndex> listDistIndex(String cropName);

    SysResult ybzz(String cropName, String time) throws ParseException;
}
